package structureType.bridge.road;

import structureType.bridge.car.AbstractCar;

public abstract class AbstractRoad {
    protected AbstractCar car;

    public AbstractRoad() {
    }

    public AbstractRoad(AbstractCar car) {
        this.car = car;
    }

    public void setCar(AbstractCar car) {
        this.car = car;
    }

    public abstract void run();
}
